home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / WINDOWS / WGREP12.ARJ / GREP.H < prev    next >
C/C++ Source or Header  |  1992-05-01  |  783b  |  34 lines

  1. // GREP.DLL header file
  2. // Written by:    Chris Roberts
  3. // Date:                03/11/92
  4.  
  5. // GrepCompile Error Codes
  6. #define GCOMP_NO_ERROR                            0
  7. #define GCOMP_ILLEGAL_OCCURANCE_OP    1
  8. #define GCOMP_UNKNOWN_TYPE                    2
  9. #define GCOMP_NO_TYPE                                3
  10. #define GCOMP_BAD_CLASS_TERMINATION    4
  11. #define GCOMP_UNTERMINATED_CLASS        5
  12. #define GCOMP_CLASS_TOO_LARGE                6
  13. #define GCOMP_EMPTY_CLASS                        7
  14.  
  15. #ifdef __BCPLUSPLUS__
  16. extern "C"
  17. {
  18. #endif
  19.  
  20. WORD    _export FAR PASCAL
  21. GrepVersion( void );
  22.  
  23. int        _export FAR PASCAL
  24. CompileGrep( char *GrepString, char *CompiledGrep, char IgnoreCase );
  25.  
  26. // Grep Return Code:
  27. //  0    = No match
  28. //  >= 1 = Position of match
  29. int        _export FAR PASCAL
  30. Grep( char *StringToSearch, char *CompiledGrep );
  31.  
  32. #ifdef __BCPLUSPLUS__
  33. } // extern "C"
  34. #endif